package com.example.demo.dto

data class ArtworkDto(
    val id: Long,
    val atitle: String,
    val avatar: String,
    val intro: String,
    val ip: String,
    val kind: String,
    val resourceAddress: String,
    val time: Long
)
data class ArtworkShowDto(
    val id: Long,
    val atitle: String,
    val avatar: String,
    val intro: String,
    val ip: String,
    val kind: String,
    val resourceAddress: String,
    val time: Long,
    val celebritys: List<Celebrity>
) {
    data class Celebrity(
        val actid: Long? = null,
        val name: String,
        val title: Long,
        val avatar:String,
    )
}
//data class ArtworkShowDto(
//
//)

data class ArtworkUploadDto(
    val intro: String,
    val kind: Long,
    val title: String,
    val avatar: String,
    val date: Long,
    val resourceAddress:String,
    val celebritys: List<Celebrity>,
    val ip:String,
) {
    data class Celebrity(
        val name: String,
        val title: Long,
        val avatar: String,
    )
}

data class ArtworkEditDto(
    val time:Long,
    val resourceAddress: String,
    val avatar: String,
    val ip: String,
    val aid:Long,
    val intro: String,
    val kind: Long,
    val title: String,
    val celebritys: List<Celebrity>
) {
    data class Celebrity(
        val actid:Long?=null,
        val name: String,
        val title: Long,
        val avatar:String
    )
}

